package com.bdth.bdthiss.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.bdth.bdthiss.entity.Contract;
import com.baomidou.mybatisplus.service.IService;
import com.bdth.bdthiss.vo.ContractPlusVo;
import com.bdth.bdthiss.vo.Pagination;
import com.bdth.bdthiss.vo.SysMoney;

import java.util.Map;

/**
 * <p>
 * 合同信息 服务类
 * </p>
 *
 * @author LGP
 * @since 2019-08-26
 */
public interface ContractService extends IService<Contract> {
    Page<Contract> listPages(Pagination pagination, Map<String, Object> query);

    boolean update(Contract bean);

    Contract save(Contract bean);

    boolean delete(Integer id);

    boolean remove(String ids);

    boolean filish(Integer ids);

    Contract selectByCode(String code);

    SysMoney getMoney();

    Page<ContractPlusVo> listPlusPages(Pagination pagination, Map<String, Object> query);
}
